package com.pk.platform.business.charge.service;

import java.util.List;
import java.util.Map;

import com.pk.platform.business.charge.vo.RefundVO;
import com.pk.platform.business.charge.vo.TuitionDetailVO;
import com.pk.platform.domain.charge.Refund;
import com.pk.platform.domain.charge.RefundDetail;
import com.pk.platform.util.page.ListPage;
import com.pk.platform.util.page.Pager;

public interface IRefundService {

	public ListPage queryRefund(RefundVO rvo, Pager pager);
	
	public void addRefund(Refund refund);
	
	public void updateRefund(Refund refund);
	
	public void delRefund(String id);
	
	public Refund queryRefundById(String id);
	
	public ListPage queryRefundDetail(RefundVO rvo, Pager pager);
	
	public ListPage queryTuitionAndDetail(TuitionDetailVO tdvo, Pager pager);
	
	public void addRefundDetail(RefundDetail rd, Double maxAmount);

	public void delRefundDetail(String[] ids);
	
	public RefundDetail queryRefundDetailById(String id);
	
	public List<Map<String, Object>> queryRefundDetailList(String refundId);
	
}
